/* IRIS Phone Validation Admin Bar Switch Styles */

.iris-derbi-mode-node {
    background: #4a287a !important;
    color: white !important;
    border-radius: 4px !important;
    margin: 0 5px !important;
    padding: 2px 10px !important;
    transition: all 0.3s ease !important;
    height: 28px !important;
    line-height: 24px !important;
}

.iris-derbi-mode-node:hover {
    background: #3a1f5f !important;
    transform: scale(1.05) !important;
}

.derbi-mode-switch {
    font-weight: bold !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: white !important;
}

.derbi-mode-active {
    background: #d63638 !important;
    color: white !important;
    animation: pulse 2s infinite !important;
}

.derbi-mode-inactive {
    background: #4a287a !important;
    color: white !important;
}

.derbi-mode-active:hover {
    background: #b32d2e !important;
}

.derbi-mode-inactive:hover {
    background: #3a1f5f !important;
}

/* Pulse animation for active mode */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(214, 54, 56, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(214, 54, 56, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(214, 54, 56, 0);
    }
}

/* Loading state */
.derbi-mode-loading {
    opacity: 0.7 !important;
    pointer-events: none !important;
}

/* Success notification */
.derbi-mode-notification {
    position: fixed !important;
    top: 32px !important;
    right: 20px !important;
    background: #00a32a !important;
    color: white !important;
    padding: 10px 15px !important;
    border-radius: 4px !important;
    z-index: 999999 !important;
    font-weight: bold !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
    animation: slideIn 0.3s ease !important;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Error notification */
.derbi-mode-notification.error {
    background: #d63638 !important;
}

/* Responsive adjustments */
@media (max-width: 782px) {
    .iris-derbi-mode-node {
        font-size: 10px !important;
        padding: 1px 6px !important;
        height: 24px !important;
        line-height: 22px !important;
    }
    
    .derbi-mode-switch {
        font-size: 10px !important;
    }
} 